package com.test.dao;

import java.util.List;

import com.test.base.BaseDao;
import com.test.domain.Department;

public interface DepartmentDao extends BaseDao<Department> {
	/*
	 * 获取所有顶级部门
	 * 
	*/
	public List<Department> getTopList();
	/*
	 * 获取指定部门的所有子部门
	 */
	public List<Department> getChildren(Integer id);
}
